package com.atguigu.yygh.mq.pojo;

/**
 * @description: 添加常量类
 * @author: 化一帆
 * @date: 2022/12/9 14:56
 * @version: v1.0
 */
public class MqConst {
    /**
     * 预约下单
     */
    public static final String EXCHANGE_DIRECT_ORDER = "exchange.direct.order";
    public static final String ROUTING_ORDER = "order";
    public static final String QUEUE_ORDER  = "queue.order";

    /**
     * 短信
     */
    public static final String EXCHANGE_DIRECT_MSM = "exchange.direct.msm";
    public static final String ROUTING_MSM_ITEM = "msm.item";
    public static final String QUEUE_MSM_ITEM  = "queue.msm.item";

    /**
     * 取消订单时使用的队列
     */
    public static final String EXCHANGE_DIRECT_CANCEL_ORDER = "exchange.direct.order";
    public static final String ROUTING_CANCEL_ORDER = "order";
    public static final String QUEUE_CANCEL_ORDER  = "queue.order";
}